//
//  EAChooseCategoryViewController.m
//  WhatToEat
//
//  Created by 方力 on 15/10/27.
//  Copyright (c) 2015年 Mac. All rights reserved.
//

#import "EAChooseCategoryViewController.h"
#import "EARecommendMealController.h"
#import "EARoundMealController.h"

@interface EAChooseCategoryViewController ()


@end

@implementation EAChooseCategoryViewController
- (IBAction)recommendMealAction:(id)sender
{
    
    EARecommendMealController * cVC=[[EARecommendMealController alloc] init];
    

    cVC.aty_level=self.aty_level;
    
    cVC.mealtype=self.mealtype;
    
    [self.navigationController pushViewController:cVC animated:YES];
    
    
    
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
    
    
    
}



- (IBAction)toChooseRoundVC:(UIButton *)sender
{
    EARoundMealController* RVC= [[EARoundMealController alloc] init];

    
    RVC.aty_level=self.aty_level;
    
    RVC.mealtype=self.mealtype;
    
    
    self.hidesBottomBarWhenPushed=YES;
    [self.navigationController pushViewController:RVC animated:YES];
        self.hidesBottomBarWhenPushed=NO;

}





@end
